/*
 * =====================================================================================
 *
 *       Filename:  Acrobat.h
 *
 *    Description:  Robot with 2 wheel, and it should mantrand balanced.
 *
 *        Version:  1.0
 *        Created:  06/03/2011 08:13:20 PM
 *       Compiler:  gcc
 *
 *         Author:  Toth Tamas (Osiris), osiris996@gamil.com
 *
 * =====================================================================================
 */

#ifndef ACROBAT_H_
#define ACROBAT_H_

#include "pal.h"
#include "Robot.h"
#include "ElementData.h"

namespace robots
{

class Acrobat: public Robot
{
public:
	Acrobat();
	virtual ~Acrobat();
	int getElementCount();
	ElementData getElementData(int);
	void move(float, float, float);
	void setPosition(float, float, float);
	void command(int, int, void*);
	palVector3 getPosition();
	void createPhysics();
	void setScale(float, float, float)
	{
	}
	;
	void setMass(float) {};

private:
	palBody *cGeometry[6];
	ElementData *gGeometry[6];
	palVector3 position;
	palDCMotor *pm;
};

}
;

#endif /*ACROBAT_H_*/
